import json

ConfigFilePath='config.json'
def loadConfig():
    fi=open(ConfigFilePath,'r',encoding='utf-8')
    dic=json.load(fi)
    fi.close()
    return dic

if __name__=="__main__":
    dic=loadConfig()
    print(dic)